import { Vector } from "ol/source";

export function createSource(...args: ConstructorParameters<typeof Vector>) {
  const source = new Vector(...args);
  return source;
}